/*
 * Copyright(C) 2012 Luvina Software Company
 *
 * TblDetailUserJapanLogicImpl.java, 28/12/2012 bacdv
 */
package net.luvina.manageuser.logic.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import net.luvina.manageuser.dao.TblDetailUserJapanDao;
import net.luvina.manageuser.hibernate.TblDetailUserJapan;
import net.luvina.manageuser.logic.TblDetailUserJapanLogic;

/**
 * TblDeatilUserJapanLogicImpl
 *
 * @author bacdv
 *
 */
@Service("tblDeatilUserJapanLogic")
@Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT, readOnly = false, rollbackFor = { Throwable.class })
public class TblDetailUserJapanLogicImpl implements TblDetailUserJapanLogic {;

	@Autowired
	private TblDetailUserJapanDao tblDetailUserJapanDao;
    /*
     * (non-Javadoc)
     *
     * @see net.luvina.manageuser.logic.TblDetailUserJapanLogic#
     * createDetailUserJapan(net.luvina.manageuser.hibernate.TblDetailUserJapan)
     */
	@Override
    @Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT, readOnly = false, rollbackFor = Throwable.class)
    public Integer createDetailUserJapan(TblDetailUserJapan tblDetailUserJapan) {
        return this.tblDetailUserJapanDao.create(tblDetailUserJapan);

    }

}
